]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
bluetooth: remove weird "Agent" word from notification (close #637687)
authorLuca Ferretti <lferrett@gnome.org>
Wed, 9 Feb 2011 22:08:02 +0000 (23:08 +0100)
committerLuca Ferretti <lferrett@gnome.org>
Wed, 9 Feb 2011 22:08:02 +0000 (23:08 +0100)
Agents are an implementation detail of Bluetooth on Linux (it's actually
a D-Bus "agent", not a Bluetooth one anyway). Only "Bluetooth" is fine.

js/ui/status/bluetooth.js

index 2220d2520f0247e80cfcf1ef501976b61505e5ce..2926f97390ac13b9739b5b58644b691d0ab0aad0 100644 (file)
@@ -334,7 +334,7 @@ Source.prototype = {
     __proto__: MessageTray.Source.prototype,
 
     _init: function() {
-        MessageTray.Source.prototype._init.call(this, _("Bluetooth Agent"));
+        MessageTray.Source.prototype._init.call(this, _("Bluetooth"));
 
         this._setSummaryIcon(this.createNotificationIcon());
     },
@@ -368,7 +368,7 @@ AuthNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, uuid) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Authorization request from %s").format(name),
                                                       { customContent: true });
         this.setResident(true);
@@ -408,7 +408,7 @@ ConfirmNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, pin) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Pairing confirmation for %s").format(name),
                                                       { customContent: true });
         this.setResident(true);
@@ -441,7 +441,7 @@ PinNotification.prototype = {
     _init: function(source, applet, device_path, name, long_name, numeric) {
         MessageTray.Notification.prototype._init.call(this,
                                                       source,
-                                                      _("Bluetooth Agent"),
+                                                      _("Bluetooth"),
                                                       _("Pairing request for %s").format(name),
                                                       { customContent: true });
         this.setResident(true);